import request from '@/utils/request'

const api_name = '/api/user'

export default{
    //用户手机登录接口
    login(loginVo){
        return request({
            url:`${api_name}/login`,
            method:'post',
            data:loginVo
        })
    },

    //用户认证接口
    userAuth(userAuthVo){
        return request({
            url:`${api_name}/auth/userAuth`,
            method:'post',
            data:userAuthVo
        })
    },

    //获取用户id信息接口
    getUserInfo(){
        return request({
            url:`${api_name}/auth/getUserInfo`,
            method:'get'
        })
    }
}